<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>心理咨询 - 迈浪心理</title>
    <link rel="stylesheet" href="style.css">
    <link rel="stylesheet" href="consultation.css">
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
</head>

<body>
    <div id="app">
        <header class="header">
            <div class="logo">
                <svg width="160" height="40" viewBox="0 0 160 40">
                    <path d="M20 5 C15 15, 10 25, 5 35 S25 35, 30 25 S35 15, 40 5" fill="none" stroke="#4a90e2"
                        stroke-width="2" />
                    <text x="45" y="28" font-family="Microsoft YaHei" font-size="24" fill="#333">迈浪心理</text>
                </svg>
            </div>
            <nav class="nav">
                <a href="index.html" class="nav-item" @click="goToPage('index')">网站首页</a>
                <a href="consultation.html" class="nav-item active" @click="goToPage('consultation')">心理咨询</a>
                <a href="therapist.html" class="nav-item" @click="goToPage('therapist')">心理咨询师</a>
                <a href="about.html" class="nav-item" @click="goToPage('about')">关于我们</a>
                <a href="user-center.html" class="nav-item" @click="goToPage('user-center')">个人中心</a>
                <a href="#" class="nav-item login-btn">登录</a>
            </nav>
        </header>

        <main class="consultation-main">
            <div class="page-header">
                <h1>心理咨询服务</h1>
                <p>专业的心理咨询团队，为您提供贴心的服务</p>
            </div>

            <section class="service-intro">
                <div class="container">
                    <h2 class="section-title">咨询流程</h2>
                    <div class="process-steps">
                        <div class="step">
                            <div class="step-icon">1</div>
                            <h3>预约咨询</h3>
                            <p>在线预约或电话预约，选择合适的咨询师和时间</p>
                        </div>
                        <div class="step">
                            <div class="step-icon">2</div>
                            <h3>初步沟通</h3>
                            <p>与咨询师进行初步沟通，了解基本情况</p>
                        </div>
                        <div class="step">
                            <div class="step-icon">3</div>
                            <h3>正式咨询</h3>
                            <p>进行专业的一对一心理咨询服</p>
                        </div>
                        <div class="step">
                            <div class="step-icon">4</div>
                            <h3>跟进服务</h3>
                            <p>定期回访，持续关注您的心理健康</p>
                        </div>
                    </div>
                </div>
            </section>

            <section class="service-types">
                <div class="container">
                    <h2 class="section-title">咨询方式</h2>
                    <div class="type-grid">
                        <div class="type-card">
                            <div class="type-icon">🏢</div>
                            <h3>面对面咨询</h3>
                            <p>在专业的咨询室进行一对一咨询，营安全舒适的环境</p>
                            <ul class="type-features">
                                <li>专业咨询环境</li>
                                <li>面对面深入交流</li>
                                <li>更好的治疗效果</li>
                            </ul>
                            <a href="therapist.html" class="type-btn">了解更多</a>
                        </div>
                        <div class="type-card">
                            <div class="type-icon">💻</div>
                            <h3>在线咨询</h3>
                            <p>通过视频或语音方式进行在线咨询，灵活便捷</p>
                            <ul class="type-features">
                                <li>时间地点灵活</li>
                                <li>隐私性好</li>
                                <li>随时寻求帮助</li>
                            </ul>
                            <a href="therapist.html" class="type-btn">了解更多</a>
                        </div>
                    </div>
                </div>
            </section>

            <section class="service-faq">
                <div class="container">
                    <h2 class="section-title">常见问题</h2>
                    <div class="faq-list">
                        <div class="faq-item" v-for="faq in faqs" :key="faq.id" @click="toggleFaq(faq)">
                            <div class="faq-question">
                                <span>{{ faq.question }}</span>
                                <span class="faq-icon">{{ faq.isOpen ? '−' : '+' }}</span>
                            </div>
                            <div class="faq-answer" :class="{ 'active': faq.isOpen }">
                                {{ faq.answer }}
                            </div>
                        </div>
                    </div>
                </div>
            </section>

            <section class="consultation-cta">
                <div class="container">
                    <div class="cta-content">
                        <h2>开始您的心理咨询之旅</h2>
                        <p>专业的心理咨询师团队随时为您提供帮助</p>
                        <a href="therapist.html" class="cta-button">立即预约</a>
                    </div>
                </div>
            </section>
        </main>
    </div>
    <script src="consultation.js"></script>
</body>

</html>